package springboot.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class User {
    private int id;
    private String username;
    private String password;
    private Role role;
    public User(){}

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
    public User(int id, String password) {
        this.id = id;
        this.password = password;
    }
}
